#include <stdio.h>
#include <stdlib.h>
#include <time.h>


int main (int argc, char ** argv){
  int i,j,k;
  srand(getpid() * time(NULL));
  char *insert = "INSERT INTO Sensor_Data (SensorId, Wattage, Time, Day, Weekday) VALUES ";
  char *true = "TRUE";
  char *false = "FALSE";
  for(i=0;i<31;i++){
    for(j=0;j<24;j++){
      for(k=0;k<210;k++){
        printf("%s('%d', '%d', '%d', '%d', %s);\n",insert,k+1,(rand()%10 < 4)?(100 + rand()%300):0,j,i,(i%7 < 2)?false:true);
      }
    }
  }

}
